package com.qf.game;

public class battle08 {
    public static void main(String[] args) {
        Master master = new Master();
        master.setPower(1);
        master.attack();

        FireBall fireBall = new FireBall();
        fireBall.setMagicDamage(10);
        fireBall.setGrade(1);
        fireBall.setName("火球术");
        master.setMagic(fireBall);
        for (int i = 0; i < 15; i++) {
            master.magicAttack();
        }
    }
}
